<template>
  <div class="file-wrapper">
    <el-container class="el-container">
      <el-aside width="auto">
        <RootAsideMenu></RootAsideMenu>
      </el-aside>
      <el-container>
        <el-main class="el-main">
          <RootFile></RootFile>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import RootAsideMenu from '_c/file/RootAsideMenu.vue'
import RootFile from '_c/common/RootFile.vue'

export default {
  name: 'Root',
  components: {
    RootAsideMenu,
    RootFile
  },
  methods: {

  },

}
</script>

<style lang="stylus" scoped>
@import '~_a/styles/varibles.styl';
@import '~_a/styles/mixins.styl';

.file-wrapper {
  width: 100% !important;
}

.el-container {
  .el-aside {
    height: calc(100vh - 61px);
    overflow: hidden;
  }
}

.el-main {
  padding: 0px 16px !important;
  overflow: hidden;
}
</style>
